//index.js
//获取应用实例
const app = getApp()

Page({
  data: {
    url: ''
  },
  onLoad: function(options){
    var url = 'https://api.sarine.com/v' + options.sarineNumber
    options.sarineNumber ? this.setData({url: url}) : wx.navigateBack();
  }
})
